package com.maimao.api.kill;

import com.maimao.core.model.resp.Result;
import com.maimao.model.common.StatusInput;
import com.maimao.model.goods.Brand;
import com.maimao.model.goods.input.BrandSearchInput;
import com.maimao.model.kill.Activity;
import com.maimao.model.kill.input.ActivitySaveEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2021/4/7 10:21 上午
 */
@Api(value = "活动接口")
@RequestMapping("/kill/activity")
public interface ActivityApi {

    @ApiOperation("新增活动")
    Result<?> save(ActivitySaveEntity activity);

    Result<?> update(ActivitySaveEntity activity);

    @ApiOperation("进行中的活动列表")
    Result<?> processingList();

    @ApiOperation("所有活动")
    Result<?> all();

    @ApiOperation("开启或停止活动")
    Result<?> updateStatus(StatusInput statusInput);
}
